updating oE deg2rad
deg2rad
include math.e namespace math public function deg2rad(object x)
converts an angle measured in degrees to an angle measured in radians.
Parameters:
- angle : an object, all atoms of which will be converted, no matter how deeply nested.
Returns:
An object, the same shape as angle, all atoms of which were multiplied by PI/180.
Comments:
This function may be applied to an atom or sequence. A flat angle is PI radians and 180 degrees. sin, cos and tan expect angles in radians.
Example 1:
x = deg2rad(194) -- x is 3.385938749
See Also:
Not Categorized, Please Help
|